package com.snopy.designPattern.structure.adapter.demo2;

/**
 * @author snopy
 * @version 1.0.0
 * @classname DocAdapter
 * @description
 * @email 77912204@qq.com
 * @date 2022/11/26 15:31
 */
public class DocAdapter extends DocEdit{

    private AdvancedEdit edit;
    public DocAdapter(String text) {
        super(text);
    }

    public DocAdapter(String text, AdvancedEdit edit) {
        super(text);
        this.edit = edit;
    }

    @Override
    public void printPdf() {
        super.printPdf();
    }
}
